<div class="control-group">
    <label for="<?php echo $id; ?>"><?php echo $label; ?></label>
    <select name="<?php echo $name; ?>" class="<?php echo $class; ?>" id="<?php echo $id; ?>" <?php echo $attribute; ?>>
        <?php
        foreach ($value as $key => $val) {
            if ($key == $default_value)
                echo '<option value="' . $key . '" selected="selected">' . $val . '</option>';
            else
                echo '<option value="' . $key . '">' . $val . '</option>';
        }
        ?>
    </select>
    <div class="clear"></div>
</div>